using System.Collections.Generic;
using GameFramework.Event;
using Newtonsoft.Json.Linq;
using UnityEngine;
using UnityGameFramework.Runtime;

namespace StarForce.Hotfix
{
    public class NormalGame : GameBase
    {
//        private float m_ElapseSeconds = 0f;

        public override GameMode GameMode
        {
            get { return GameMode.Normal; }
        }

        private IFsm m_PlayerFsm;

        // private bool HotfixGameEntry.Pause.Game;


        public override void Initialize()
        {
            base.Initialize();

            Log.Info("Initialize");

            GameOver = false;
        }

        public override void Shutdown()
        {
            base.Shutdown();
        }

        public override void Update(float elapseSeconds, float realElapseSeconds)
        {
            base.Update(elapseSeconds, realElapseSeconds);

            if (GameOver)
            {
                Shutdown();
                return;
            }
            
        }
    }
}